package com.lesso.zgs.sunflower.domain.repository;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.zgs.sunflower.model.AttendanceRule;
import com.lesso.zgs.sunflower.pojo.dto.AttendanceRuleQueryDTO;
import com.lesso.zgs.sunflower.pojo.vo.AttendanceRuleVO;

/**
 * AttendanceRuleRepository
 *
 * @author zgs
 * @since 2025-07-03
 */
public interface AttendanceRuleRepository {

    Integer save(AttendanceRule attendanceRule);

    AttendanceRule getById(Long id);

    Integer update(AttendanceRule attendanceRule);

    Integer delete(Long id);

    Page<AttendanceRuleVO> getPageList(AttendanceRuleQueryDTO dto);
} 